package com.vincent.testall.dao;

import com.vincent.testall.po.UserRole;
import com.vincent.testall.po.UserRoleExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserRoleDao {
    int deleteByPrimaryKey(Integer id);

    int insert(UserRole record);

    int insertSelective(UserRole record);

    List<UserRole> selectByExample(UserRoleExample example);

    UserRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserRole record);

    int updateByPrimaryKey(UserRole record);

    @Select("select id from base_user_role where id=#{id}")
    Long selectx(@Param("id") Integer id);

    @Select("select * from base_user_role where id=#{id}")
    UserRole selecttest(@Param("id") Integer id);

}